package com.weixin.paleituo.bean;

import com.weixin.paleituo.util.StringUtils;

/**
 * Author yichao
 * Time  2018/4/7 10:41
 * Dest 商城首页为你推荐
 */

public class HomeRecommandBean {


    /**
     * img : http://p35r91t1w.bkt.clouddn.com/upload/goods_list_img/fb5b83b6-4c45-4cb0-85b9-d271aa208b65.png
     * coupon : 200
     * price : 3300
     * id : 904
     * specialSales : 2700
     */

    private String img;
    private String coupon;
    private String price;
    private int id;
    private String specialSales;
    private String name;
private  int goodsSalenum;

    public int getGoodsSalenum() {
        return goodsSalenum;
    }

    public void setGoodsSalenum(int goodsSalenum) {
        this.goodsSalenum = goodsSalenum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getCoupon() {
        return coupon;
    }

    public void setCoupon(String coupon) {
        this.coupon = coupon;
    }

    public String getPrice() {
        if (StringUtils.isEmpty(price)){
            return "0";
        }

        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getSpecialSales() {
        return specialSales;
    }

    public void setSpecialSales(String specialSales) {
        this.specialSales = specialSales;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


}
